package ru.osu.acm.system.startPoint;

import ru.osu.acm.common.config.Config;
import ru.osu.acm.system.Logger;
import ru.osu.acm.system.SubmissionMonitor;

/**
 * User: Aleksey
 * Date: 17.02.2009
 * Time: 16:35:15
 */
public class Starter {
    public static void main(String[] args) {
        Logger.log("Loading config");
        Config.loadConfig(ClassLoader.getSystemResource("ru/osu/acm/common/config/" + args[0]).getFile());
        Logger.log("Starting submission monitor");
        SubmissionMonitor submissionMonitor = new SubmissionMonitor();
        submissionMonitor.start();
        submissionMonitor.setWaiting(false);
    }
}
